function setLocal (value, key = 'token') {
  window.localStorage.setItem(key, value)
}
function getLocal (key = 'token') {
  return window.localStorage.getItem(key)
}
function removeLocal (key = 'token') {
  window.localStorage.removeItem(key)
}
export { setLocal, getLocal, removeLocal }
